Optimal. Leaf size=25 \[ -\frac{a^2}{x}+a b x^2+\frac{b^2 x^5}{5} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0284023, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077 \[ -\frac{a^2}{x}+a b x^2+\frac{b^2 x^5}{5} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x^3)^2/x^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \frac{a^{2}}{x} + 2 a b \int x\, dx + \frac{b^{2} x^{5}}{5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x**3+a)**2/x**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.00167607, size = 25, normalized size = 1. \[ -\frac{a^2}{x}+a b x^2+\frac{b^2 x^5}{5} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x^3)^2/x^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.006, size = 24, normalized size = 1. \[ -{\frac{{a}^{2}}{x}}+ab{x}^{2}+{\frac{{b}^{2}{x}^{5}}{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x^3+a)^2/x^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.42661, size = 31, normalized size = 1.24 \[ \frac{1}{5} \, b^{2} x^{5} + a b x^{2} - \frac{a^{2}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^3 + a)^2/x^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.237587, size = 34, normalized size = 1.36 \[ \frac{b^{2} x^{6} + 5 \, a b x^{3} - 5 \, a^{2}}{5 \, x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^3 + a)^2/x^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.07695, size = 19, normalized size = 0.76 \[ - \frac{a^{2}}{x} + a b x^{2} + \frac{b^{2} x^{5}}{5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x**3+a)**2/x**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.216628, size = 31, normalized size = 1.24 \[ \frac{1}{5} \, b^{2} x^{5} + a b x^{2} - \frac{a^{2}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^3 + a)^2/x^2,x, algorithm="giac")
[Out]